import isObject from "./isObject";

export default function allkeys(obj) {
  if (!isObject(obj)) return []
  var keys = []
  for (var key in obj) {
    keys.push(key)
  }
  return keys;
}